/**
 * @addtogroup brd_pwr_ctrl_def
 * brd_pwr_ctrl_def
 * @{
 */
/**
 * @file brd_pwr_ctrl_def.h
 * @brief 板级层电源控制信号定义
 * @note
 * @par 修改日志
 * <table>
 * <tr><th>Date <th>Version <th>Author <th>Description
 * <tr><td>2020-10-20 <td>1.0 <td>软件工程院 <td>创建初始版本
 * @copyright 杭州鸿泉物联网技术股份有限公司
 */
#ifndef _BRD_PWR_CTRL_DEF_H_
#define _BRD_PWR_CTRL_DEF_H_

#ifdef __cplusplus
extern "C" {
#endif

/// 电源控制类型
enum Brd_TPwrCtrlIdTag {
    kBrd_PwrCtrlIdBase                      = 0,
    kBrd_PwrCtrlIdMajor                     = kBrd_PwrCtrlIdBase,       ///< 主电源控制
    kBrd_PwrCtrlIdSpareBat                  = 1,                        ///< 备用电池对板上设备供电
    kBrd_PwrCtrlIdNet                       = 2,                        ///< 网络设备电源
    kBrd_PwrCtrlIdNetUsb                    = 3,                        ///< 网络USB电源
    kBrd_PwrCtrlIdGnss                      = 4,                        ///< 定位设备电源
    kBrd_PwrCtrlIdBth                       = 5,                        ///< 蓝牙电源
    kBrd_PwrCtrlIdExtMajor                  = 6,                        ///< 对外输出24V主电
    kBrd_PwrCtrlIdExtMinor1                 = 7,                        ///< 输出到外部的主电(5V)电源1
    kBrd_PwrCtrlIdExtMinor2                 = 8,                        ///< 输出到外部的主电(5V)电源2
    kBrd_PwrCtrlIdExtMinor3                 = 9,                        ///< 输出到外部的主电(5V)电源3
    kBrd_PwrCtrlIdSwitch                    = 10,                       ///< 开关量电源
    kBrd_PwrCtrlIdCom                       = 11,                       ///< 串口电源
    kBrd_PwrCtrlIdEmmc                      = 12,                       ///< EMMC电源
    kBrd_PwrCtrlIdMax,
};
typedef enum Brd_TPwrCtrlIdTag Brd_TPwrCtrlId;

#define BRD_PWR_CTRL_ID_MAJOR
#define BRD_PWR_CTRL_ID_SPARE_BAT
#define BRD_PWR_CTRL_ID_NET
#define BRD_PWR_CTRL_ID_NET_USB
#define BRD_PWR_CTRL_ID_GNSS
#define BRD_PWR_CTRL_ID_BTH
#define BRD_PWR_CTRL_ID_EXT_MAJOR
#define BRD_PWR_CTRL_ID_EXT_MINOR1
#define BRD_PWR_CTRL_ID_EXT_MINOR2
#define BRD_PWR_CTRL_ID_EXT_MINOR3
#define BRD_PWR_CTRL_ID_SWITCH
#define BRD_PWR_CTRL_ID_COM
#define BRD_PWR_CTRL_ID_EMMC

#ifdef __cplusplus
}  ///  < extern "C"
#endif

#endif // _BRD_PWR_CTRL_DEF_H_
/**
 * @} 
 */
